/**
 * Created by fangshufeng on 2018/3/25.
 */
import {combineReducers} from 'redux'
import productReduce from './Product'
/**
 * 方法一
 * */
const reduce = combineReducers({
    name:productReduce,
    // userName:userReduce
});

/**
 * 等价
 * */
// const reduce = (state,action) => {
//     return {
//         name:productReduce(state.name,action),
//         userName:userReduce(state.name,action)
//     }
// };

export default   reduce;